package com.aaa.proxy;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/8/18 11:54
 * @description：
 * @modified By：
 * @version:
 */
public class PhoneServiceImplSubProxy  extends PhoneServiceImpl {
    LogUtil logUtil = new LogUtil();
    @Override
    public void buyPhone(int num) {
        super.buyPhone(num);
        logUtil.log("buyPhone");
    }

    @Override
    public void salePhone(int num) {
        super.salePhone(num);
        logUtil.log("salePhone");
    }

    public static void main(String[] args) {
     /*   PhoneService phoneService = new PhoneServiceImplSubProxy();
        phoneService.buyPhone(200);*/
    }
}
